package my.edu.model.bills.fund.entity.dto;

import jakarta.validation.constraints.Min;
import lombok.Data;
import my.edu.common.validate.groups.Insert;

import java.math.BigDecimal;

@Data
public class ExpenseDetailDTO {
    private String expenseCategory;
    @Min(value = 0, message = "金额必须大于0", groups = {Insert.class})
    private BigDecimal amount;
    private String remark;
    private Long otherExpenseOrderId;
}
